home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
03
/
8
/
DISK0386.ZIP
/
README.DOC
< prev
next >
Wrap
Text File
|
1987-01-08
|
4KB
|
101 lines
B A N N E R
The BANNER program makes long, large-letter banners on your printer
from console input. All sources are presented in case you want to
customize it.
Installation:
Before use, rename either BANV1.EXE or BANV2.EXE to BANNER.EXE
so the command "BANNER" will work. Use BANV1 if you have PCDOS 1.1 or
thereabouts, BANV2 for DOS V2 or later.
BANNER produces output that is designed for 132 character wide
printers. Typically its output is a line of up to 132 ASCII characters,
a single carriage return (no linefeed), another line of up to 132 ASCII
characters, and then a carriage return/linefeed combo, for each "raster"
it uses. This allows a denser banner due to overprinting two characters.
However, due to the great variety of printers out there, BANNER makes NO
attempt to set the printer up in any way. It also doesn't mess up any
presets. Thus, for successful use on many printers you'll want to make
sure that single CR doesn't advance the paper (I believe Epson printers
work as they need to for this), that your printer is set to condensed
letters (so there'll be 132 across), and you'll probably want to set your
printer for 8 or 10 lines per inch. This means, get out the printer manual
and find out what escape and/or control sequences you need to send to
the printer and arrange to do so. (You can either create a short file
and print it, or write a short BASIC program to emit the necessary
controls.)
Use:
To use, type BANNER to activate the program.
It will first ask you for its input and output file specifications.
This will allow the program to read a disk file for input and write
one for output if desired.
Normally, for input file specifier just type
CON:
(including the colon) to signal you'll put your text in on the
console.
For output, normally just enter
LPT1:
(including the colon) to signal you want the output to go onto
the line printer. If you want it to go to LPT2:, type that, and
if you want it on disk, just give a filename. Files get large,
so be sure you have LOTS of room on disk.
Banner just does a Fortran OPEN on the file so specified.
Some terminate-and-stay-resident utilities mess up certain Fortran
OPENs, so if you have problems, try booting a clean DOS (rename
CONFIG.SYS and AUTOEXEC.BAT temporarily) and try again. Banner has
run on a number of clones and will usually be OK then. If it isn't,
sorry, something about your machine is messing Fortran up...
The program then enters a loop asking for input lines. Its
prompt looks like this:
ENTER INPUT LINE:
You type a character which may be space, +, or -, followed by
up to 78 characters of text to go onto a banner.
If your initial character is space or + sign, the letters will be
dark on white paper. If your initial character is - sign, the
letters are white on dark paper. The program uses normal text
characters to darken regions of the paper. This is seldom a
problem.
Press the Enter key to enter the text. The program will then
begin printing the banner. When it finishes it will prompt
again for an input line. You may enter several in a row if
desired.
If you enter several, they just come out serially. The
font is a variable pitch Roman font. Most of the printable
ASCII character set is included plus upper and lowercase
alphas and numbers. Some characters are however not there
so a bit of testing may be needed if you want to use lots of
special characters. No support for extended characters is here.
Character sizes can be configured only by setting spacings
in your printer, which many printers CAN do. If the single
return is a problem, you can output to a disk file and edit
the output before printing.
When you are done, type a control-Z (hold down the Ctrl key and
type Z) followed by Enter. This terminates the program. It will
be acted on when the control-Z is entered at an input prompt.
PLEA:
If you find this program useful, pass it on to your friends,
neighbors, etc. etc. and let them enjoy it.
Thanks.
By Glenn Everhart